#include <QCoreApplication>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    int d;
        cin>>d;
        if ((d<20) || (d>69))
                cout<<"oshibka";
                else
        switch (d%10)
        {
        case 5: cout<<d<<" let";
            break;
        case 6: cout<<d<<" let";
            break;
        case 7: cout<<d<<" let";
            break;
        case 8: cout<<d<<" let";
            break;
        case 9: cout<<d<<" let";
            break;
        case 0: cout<<d<<" let";
            break;
        case 1: cout<<d<<" god";
            break;
        case 2: cout<<d<<" goda";
            break;
        case 3: cout<<d<<" goda";
            break;
        case 4: cout<<d<<" goda";
            break;
        default : cout<<"oshibka";
        }
    return a.exec();
}
